package com.example.mp.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.mp.bean.Department;
import com.example.mp.bean.Employee;
import com.example.mp.mapper.DepartmentMapper;
import com.example.mp.mapper.EmployeeMapper;
import com.example.mp.service.IDepartmentService;
import com.example.mp.service.IEmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @auther liujb
 * @date 2021/7/25-9:53
 */
@Service
public class DepartmentServiceImpl extends ServiceImpl<DepartmentMapper, Department> implements IDepartmentService {

    @Autowired
    private DepartmentMapper departmentMapper;

    @Override
    public Department getDeptByIdStep(Integer id)
    {
        return departmentMapper.getDeptByIdStep(id);
    }
}
